/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp_imag.model;

import java.awt.image.BufferedImage;

/**
 *
 * @author gdenari
 */
public class ActualImage {
    
    private static ActualImage _instance = null;

    private String path;
    private BufferedImage original = null;
    private BufferedImage filtered = null;
    private BufferedImage binarized = null;

    private ActualImage() {
    }

    public static ActualImage getInstance() {
        if (_instance == null) {
            _instance = new ActualImage();
        }
        return _instance;
    }

    public BufferedImage getBinarized() {
        return binarized;
    }

    public BufferedImage getFiltered() {
        return filtered;
    }

    public BufferedImage getOriginal() {
        return original;
    }

    public void setBinarized(BufferedImage binarized) {
        this.binarized = binarized;
    }

    public void setFiltered(BufferedImage filtered) {
        this.filtered = filtered;
    }

    public void setOriginal(BufferedImage original) {
        this.original = original;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

}
